package com.jlcon.nas.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;


@Controller
@RequestMapping("boss")
@Tag(name = "后台页面")
@RequiredArgsConstructor
public class BossIndexController {

	@GetMapping(value = "main")
	public String mainPage() {
		return "/boss/index";
	}
	
	@GetMapping(value = "console")
	public String console() {
		return "/boss/console";
	}
	
	@GetMapping(value = "download/page")
    @Operation(summary ="到列表页面")
    public String commonPageResponseResult() {
        return "/boss/download/download-list";
    }
}